Skip to content

Conversation

@mosterdt
Copy link

Without catching the unknown option exception, gebaard crashes with an abort:

$ gebaard -d
terminate called after throwing an instance of 'cxxopts::option_not_exists_exception'
  what():  Option ‘d’ does not exist
[1]    11684 abort (core dumped)  gebaard -d

This pull request fixes this by catching the exception (as seen in https://github.com/jarro2783/cxxopts/blob/master/src/example.cpp), with the following result:

$ ./gebaard -d
error parsing options: Option ‘d’ does not exist

Thanks for creating gebaar! I finally got around to using it. It's a nice improvement to the alternatives. (Greetings from #bspwm!)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant